<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>新增用户</title>
	<link rel="stylesheet" href="__ACSS__/table.css">
</head>
<body>
	<div class="table-wrap">
		<div class="table-main">
			<div class="ibox-title">
				<h3>修改管理员</small></h3>
			</div>
			<div class="ibox-content">	
				<form action="{:url('admin/user/update')}" class="form-main" method="post" enctype="multipart/form-data">

					<div class="form-group">
						<ul>
							<input type="hidden" name="uid" value="{$res.uid}">
							<li>
								<span class="form-title">用户ID</span>
								<span class="form-username">{$res.uid}</span>
								<!-- <em class="form-error">* 请输入有误</em> -->
							</li>
							<li>
								<span class="form-title">上传头像</span>
								<input class="form-icon" type="file"  name="headPic">
								<!-- <em class="form-error">* 请输入有误</em> -->
							</li>
							<li>
								<span class="form-title">昵称</span>
								<input class="form-text" type="text" placeholder="请输入姓名" name="userName" value="{$res.userName}">
								<em class="form-error">* 不能为空</em>
							</li>
							<li>
								<span class="form-title">手机号码</span>
								<input class="form-text" type="text" maxlength="11" placeholder="请输入手机号码" name="tel" value="{$res.tel}">
								<em class="form-error">* 不能为空</em>
							</li>
							<li>
								<span class="form-title">输入密码</span>
								<input class="form-text" type="password" placeholder="请输入密码"  name="password">
								<!-- <em class="form-error">* 请输入有误</em> -->
							</li>
							<li>
								<span class="form-title">确认密码</span>
								<input class="form-text" type="password" placeholder="请输入再输入一次密码" name="repassword">
								<!-- <em class="form-error">* 请输入有误</em> -->
							</li>
							<li>
								<span class="form-title">姓名</span>
								<input class="form-text" type="text" placeholder="请输入姓名" name="userName" value="{$res.userName}">
								<em class="form-error">* 不能为空</em>
							</li>
							<li>
								<span class="form-title">邮箱</span>
								<input class="form-text" type="text" placeholder="请输入邮箱" name="email" value="{$res.email}">
								<em class="form-error">* 不能为空</em>
							</li>
							<li>
								<span class="form-title">地址</span>
								<input class="form-text" type="text" placeholder="请输入地址" name="userName" value="{$res.userName}">
								<!-- <em class="form-error">* 不能为空</em> -->
							</li>
							<li>
								<span class="form-title"></span>
								<input class="form-submit-btn submit-btn" type="submit" value="提交">
								<a href="{:url('admin/user/index')}" class="form-back-btn"  name="">返回</a>
							</li>
						</ul>
					</div>
				</form>
			</div>
		</div>
	</div>

</body>
</html>